<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/teaAdd.css">
    <script src="../js/utils/mock-min.js"></script>
    <script src="../js/utils/jquery.min.js"></script>
    <script src="../js/utils/idAdd.js"></script>
    <script src="../js/compotents/teaAdd.js"></script>
    <script src="../js/api/teaAdd.js"></script>
</head>
<body>
    <div class="box" id="box">
        茶叶名称<input type="text" name="teaname"><br>
        茶叶类型<select name="teatype" id="teaType">
                <option value="0">绿茶</option>
                <option value="1">黄茶</option>
                <option value="2">乌龙茶</option>
                <option value="3">红茶</option>
                <option value="4">黑茶</option>
                <option value="5">白茶</option>
                <option value="6">花茶</option>
                </select><br>   
        茶叶图片 <input type="file" id="inputimg" name="teaimg" onchange="getimgname()"><br>  
        茶叶价格 <input type="text" name="teaprice"><br>
        茶叶介绍 <textarea name="describe" id="describe" cols="20" rows="5"></textarea> 
        <div class="showimg" id="showimg"></div><br>
        <button onclick="addTea()">添加</button>
        <button onclick="location.href='sy.html'">首页</button>
    </div>
</body>
</html>